mono.git
17 years agoConsole.cs: Use correct code pages on Windows and initialize InputEncoding and Output...
Kornél Pál [Thu, 27 Jul 2006 13:32:03 +0000 (13:32 -0000)]
Console.cs: Use correct code pages on Windows and initialize InputEncoding and OutputEncoding to the actual encodings used.

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

17 years agofix the documentation
Andrew Skiba [Thu, 27 Jul 2006 12:22:53 +0000 (12:22 -0000)]
fix the documentation

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

17 years ago* ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
Andrew Skiba [Thu, 27 Jul 2006 09:25:05 +0000 (09:25 -0000)]
* ObjectDataSource.cs: add doc and fix usage of MergeParameterValues

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

17 years ago* AutoGeneratedField.cs: fix the internal constructor according to test DetailsView_C...
Andrew Skiba [Thu, 27 Jul 2006 09:22:48 +0000 (09:22 -0000)]
* AutoGeneratedField.cs: fix the internal constructor according to test DetailsView_CreateAutoGenerateRow

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

17 years ago2006-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Jul 2006 06:33:39 +0000 (06:33 -0000)]
2006-07-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : compiling and validating external components in
  prior to direct components in a schema does block my refactoring.
  Removed extraneous call to XmlSchemaSet.Add().

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

17 years ago * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
Jackson Harper [Thu, 27 Jul 2006 06:11:42 +0000 (06:11 -0000)]
    * XEventQueue.cs: Peek on both the x11 queue and the lock queue.

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

17 years ago A test that currently fails, using GetNextControl on two
Jackson Harper [Thu, 27 Jul 2006 06:04:23 +0000 (06:04 -0000)]
    A test that currently fails, using GetNextControl on two
controls with the same TabIndex.  Also a standard GetNextControl with
tab index test, just for sanity.

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

17 years ago * UpDownBase.cs: When the control is selected make the child
Jackson Harper [Thu, 27 Jul 2006 04:18:11 +0000 (04:18 -0000)]
    * UpDownBase.cs: When the control is selected make the child
        controls non selectable, so that a click on them won't do a
        focus/unfocus cycle.
        - Don't give focus to the text box when the spinner is selected.

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

17 years ago2006-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Jul 2006 04:06:02 +0000 (04:06 -0000)]
2006-07-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs, XmlSchemaSet.cs : some minor refactoring to make
  Compile() simple two phase (i.e. CompileSubset() and Validate()).

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

17 years ago2006-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Jul 2006 03:02:24 +0000 (03:02 -0000)]
2006-07-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaException.cs : oops, .ctor(string) was only for 2.0.

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

17 years ago2006-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Jul 2006 02:58:28 +0000 (02:58 -0000)]
2006-07-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaCollection.cs :
  eliminated call to XmlSchema.CompileSubset(). Now XmlSchemaSet is
  the only starter of the compilation.
* XmlSchemaSet.cs : added targetNamespace check.

* XmlSchemaSetTests.cs : added AddWrongTargetNamespace().

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

17 years ago2006-07-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 26 Jul 2006 23:13:55 +0000 (23:13 -0000)]
2006-07-26  Chris Toshok  <toshok@ximian.com>

* ThemeWin32Classic.cs: add print preview rendering.  I'm not
satisfied with this solution.  If the bitmaps are small, we should
just cache them in the PrintPreviewDialog and draw them here.
Also, the layout is broken for the 2-up and 3-up cases.

* Theme.cs: add PrintPReviewControlPaint.

* PrintPreviewDialog.cs: first pass implementation.

* PrintPreviewControl.cs: first pass implementation.  No
scrollbars yet.

* PrintDialog.cs: only validate fields if that particular portion
of the UI is enabled.  Also, set the document's controller to a
PrintControllerWithStatusDialog wrapping the document's print
controller.

* PrintControllerWithStatusDialog.cs: if we're printing to a file,
bring up a SaveFileDialog (i hope we don't want to match the
behavior of the crappy windows file entry) and set the
PrinterSettings.PrintFileName accordingly.

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

17 years agoadd some resources for use by the print preview dialog
Chris Toshok [Wed, 26 Jul 2006 23:06:58 +0000 (23:06 -0000)]
add some resources for use by the print preview dialog

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

17 years ago2006-07-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 26 Jul 2006 23:02:29 +0000 (23:02 -0000)]
2006-07-26  Chris Toshok  <toshok@ximian.com>

* PrinterSettings.cs: expose PrintFileName in the 1.1 case as an
internal property, so we can get at it from MWF.

* PrintingServicesUnix.cs: handle print to file, and also remove
the temp file after sending the data to the printer.  fix some
dllimports to match the rest of system.drawing.

* PreviewPrintController.cs: implement this (warning, it'll eat
all your memory until we get a real Metafile implementation, as
we're storing bitmaps).

* PrintDocument.cs: shift the graphics context stuff around a bit
in Print(), so that the events after OnStartPrint are passed the
graphics context the controller created there, and we use the
return value of OnStartPage to do all drawing.

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

17 years ago * ContainerControl.cs: Add a field that disables auto selecting
Jackson Harper [Wed, 26 Jul 2006 19:11:10 +0000 (19:11 -0000)]
    * ContainerControl.cs: Add a field that disables auto selecting
        the next control in a container when the container is activated.
        * UpDownBase.cs: Don't select the text box when the up down is
        selected.

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

17 years agoupdated
Marek Safar [Wed, 26 Jul 2006 18:30:53 +0000 (18:30 -0000)]
updated

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

17 years ago2006-07-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 26 Jul 2006 18:25:55 +0000 (18:25 -0000)]
2006-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* XEventQueue.cs: Added methods for peeking (used for compression
  of successive events)
* XplatUIX11.cs (GetMessage): We're now compressing consecutive
  mouse move events (fixes #78732)

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

17 years ago2006-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 26 Jul 2006 18:16:25 +0000 (18:16 -0000)]
2006-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* filewatcher.c: define the inotify syscalls when we're building on
linux and have sys/syscall.h. The build system might not have support
for inotify but the target system might have it.

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

17 years ago2006-07-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Jul 2006 18:06:43 +0000 (18:06 -0000)]
2006-07-26  Miguel de Icaza  <miguel@novell.com>

        * domain.c: Documentation updates.

        * loader.c (mono_free_method): Do not release the method
        information if we are being profiled, as profilers will use this
        information at shut down to present some data to the user.

        This is needed so that the profiler does not crash, as the
        profiler tends to keep MonoMethods around, and they might become
        invalid if we free these.

        (mono_get_method_constrained): Return the original CIL stream
        method as well, so verification can be performed against it.

2006-07-13  Miguel de Icaza  <miguel@novell.com>

        * mini.c (mono_method_to_ir): Obtain the original method in the
        CIL stream and use this to perform validation.

        Fixed: #78816

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

17 years agofix RH9 build
Gonzalo Paniagua Javier [Wed, 26 Jul 2006 17:50:01 +0000 (17:50 -0000)]
fix RH9 build

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

17 years ago* NunitWebTest.cs: fixed HtmltoXml, removes spaces and crlf before converting
Vladimir Krasnov [Wed, 26 Jul 2006 16:34:58 +0000 (16:34 -0000)]
* NunitWebTest.cs: fixed HtmltoXml, removes spaces and crlf before converting

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

17 years ago* XmlDataSourceTest.cs: fixed aspx based tests
Vladimir Krasnov [Wed, 26 Jul 2006 16:28:36 +0000 (16:28 -0000)]
* XmlDataSourceTest.cs: fixed aspx based tests

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

17 years agovisual studio ifdef
Andrew Skiba [Wed, 26 Jul 2006 16:19:27 +0000 (16:19 -0000)]
visual studio ifdef

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

17 years ago* XmlDataSource.cs: implemented XSLT, removed properties from view state
Vladimir Krasnov [Wed, 26 Jul 2006 16:19:01 +0000 (16:19 -0000)]
* XmlDataSource.cs: implemented XSLT, removed properties from view state
* XmlDataSourceView.cs: fixed default xpath

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

17 years agofix a test (incomplete)
Andrew Skiba [Wed, 26 Jul 2006 15:22:22 +0000 (15:22 -0000)]
fix a test (incomplete)

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

17 years agofix few DetailsView tests
Andrew Skiba [Wed, 26 Jul 2006 14:58:04 +0000 (14:58 -0000)]
fix few DetailsView tests

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

17 years agorefactor arguments
Andrew Skiba [Wed, 26 Jul 2006 14:39:11 +0000 (14:39 -0000)]
refactor arguments

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

17 years agoFix gcc warnings
Dick Porter [Wed, 26 Jul 2006 14:28:13 +0000 (14:28 -0000)]
Fix gcc warnings

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

17 years agoXmlDataSourceTest.cs add tests
Yoni Klain [Wed, 26 Jul 2006 14:06:19 +0000 (14:06 -0000)]
XmlDataSourceTest.cs add tests

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

17 years agofix IsBindableType in accordance with MSDN and tests.
Andrew Skiba [Wed, 26 Jul 2006 13:50:40 +0000 (13:50 -0000)]
fix IsBindableType in accordance with MSDN and tests.

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

17 years ago* roottypes.cs: Rename from tree.cs.
Raja R Harinath [Wed, 26 Jul 2006 13:15:59 +0000 (13:15 -0000)]
* roottypes.cs: Rename from tree.cs.

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

17 years agoRename RootContext.Tree.Types to RootContext.ToplevelTypes.
Raja R Harinath [Wed, 26 Jul 2006 13:07:49 +0000 (13:07 -0000)]
Rename RootContext.Tree.Types to RootContext.ToplevelTypes.
* tree.cs (Tree, ITreeDump): Remove types.
* rootcontext.cs (tree, Tree): Remove fields.
(root, ToplevelTypes): New.
* *.cs: Update to rename.

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

17 years ago* tree.cs (Tree.RecordDecl): Remove.
Raja R Harinath [Wed, 26 Jul 2006 11:55:01 +0000 (11:55 -0000)]
* tree.cs (Tree.RecordDecl): Remove.
(RootTypes.AddToTypeContainer): Record the toplevel type in its
namespace here.
* class.cs, cs-parser.jay: Remove mention of RecordDecl.

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

17 years ago2006-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Jul 2006 10:13:56 +0000 (10:13 -0000)]
2006-07-26  Atsushi Enomoto <atsushi@ximian.com>

Refactoring compilation to make Compile() portable to
XmlSchemaSet.Compile() and fix multi-schema bugs (not done yet)

* XmlSchema.cs :
  Removed "root schema" concept from Compile().
  Since nested inclusion does not result in an error, the role of
  schemaLocationStack is identical to handledUris, thus removed it.
  The handledUris does not have to be a field.
  Moved NamedIdentities and IDCollections to XmlSchemaSet.
  Renamed a Compile() which is called from XmlSchemaCollection and
  XmlSchemaSet as CompileSubset(). Renamed private Compile() as
  DoCompile().
  public Compile() now internally creates a new XmlSchemaSet and
  compiles the set.
* XmlSchemaCollection.cs : now it hooks its schemaSet's validation
  event handler and thus XmlSchemaSet does not need to check this
  collection's event handler by itself.
  XmlSchema.Compile() -> XmlSchema.CompileSubset().
* XmlSchemaSet.cs :
  Removed SchemaCollection which became unneccessary.
  Added NamedIdentities and IDCollection.
  XmlSchema.Compile() -> XmlSchema.CompileSubset().
* XmlSchemaAttributeGroupRef.cs, XmlSchemaXPath.cs
  XmlSchemaSimpleTypeList.cs, XmlSchemaComplexContentRestriction.cs,
  XmlSchemaGroup.cs, XmlSchemaComplexContentExtension.cs,
  XmlSchemaSequence.cs, XmlSchemaSimpleContentRestriction.cs,
  XmlSchemaSimpleContentExtension.cs, XmlSchemaAny.cs,
  XmlSchemaElement.cs, XmlSchemaNotation.cs, XmlSchemaAll.cs,
  XmlSchemaComplexType.cs, XmlSchemaAnnotation.cs,
  XmlSchemaAttributeGroup.cs, XmlSchemaSimpleTypeRestriction.cs,
  XmlSchemaSimpleContent.cs, XmlSchemaGroupRef.cs,
  XmlSchemaChoice.cs, XmlSchemaSimpleType.cs,
  XmlSchemaIdentityConstraint.cs, XmlSchemaSimpleTypeUnion.cs,
  XmlSchemaAnyAttribute.cs, XmlSchemaComplexContent.cs,
  XmlSchemaAttribute.cs, XmlSchemaObject.cs :
  removed XmlSchemaObject.IsCompiled(). Check compilation state by
  comparing compilation ID directly.

* XmlReader.cs :
  For DTD validator, call to SetSchemas() makes no sense.
* XmlValidatingReader.cs : now it internally holds old
  XmlSchemaCollection instead of new XmlSchemaSet, to make
  XmlSchemaSet.SchemaCollection unneccessary.
  Removed SetSchemas() since it is now extraneous because of the
  XmlReaderChange above.

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

17 years ago2006-07-26 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 26 Jul 2006 07:29:12 +0000 (07:29 -0000)]
2006-07-26  Nagappan A  <anagappan@novell.com>

        * DataTable.cs (GetIndex): Fixes memory explode on
        DataTable.Select - Bug # 77691.

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

17 years ago2006-07-26 César Octavio López Natarén <cesar.nataren@gmail.com>
César Natarén [Wed, 26 Jul 2006 05:56:13 +0000 (05:56 -0000)]
2006-07-26  César Octavio López Natarén  <cesar.nataren@gmail.com>

* Microsoft.JScript.dll.sources: Added JScriptCodeCompiler.cs from
Akiramei (mei@work.email.ne.jp) to the build.

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

17 years ago2006-07-26 César Octavio López Natarén <cesar.nataren@gmail.com>
César Natarén [Wed, 26 Jul 2006 05:55:52 +0000 (05:55 -0000)]
2006-07-26  César Octavio López Natarén  <cesar.nataren@gmail.com>

* JScriptCodeGenerator.cs, JScriptCodeProvider.cs: Use
implementation from Akiramei (mei@work.email.ne.jp).

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

17 years agoadd the new watcher
Gonzalo Paniagua Javier [Tue, 25 Jul 2006 22:01:41 +0000 (22:01 -0000)]
add the new watcher

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

17 years ago2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 Jul 2006 21:21:33 +0000 (21:21 -0000)]
2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FAMWatcher.cs: remove unused method.
* InotifyWatcher.cs: new watcher supporting inotify directly, as there
are some distros that do not install 'gamin' anymore. This new watcher
takes priority over gamin, fam and default.
* FileSystemWatcher.cs: support for the new watcher.

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

17 years ago2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 Jul 2006 21:19:08 +0000 (21:19 -0000)]
2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* filewatcher.[ch]: support for inotify file system watcher.
* icall.c: add new internal calls for the inotify file system watcher.

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

17 years ago2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 Jul 2006 21:15:50 +0000 (21:15 -0000)]
2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: add check for sys/syscall.h. Remove aio_* detection as
it has not been used for a while now.

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

17 years ago * UpDownBase.cs: Use an internal class for the textbox
Jackson Harper [Tue, 25 Jul 2006 20:39:34 +0000 (20:39 -0000)]
            * UpDownBase.cs: Use an internal class for the textbox
                * so that we
        can control focus.  the updown control should always have focus,
        if either the text area or the buttons are clicked.
        - Send the key messages to the textbox, since it never actually
        has focus
        - Activate and decativate the textbox caret.

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

17 years ago2006-07-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jul 2006 15:12:01 +0000 (15:12 -0000)]
2006-07-25  Sebastien Pouliot  <sebastien@ximian.com>

* X509CRL.cs: Fix the case where no entry are present in the CRL (as
the structure is optional) *and* when there are no x.509 certificate
extensions.

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

17 years ago2006-07-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jul 2006 15:11:38 +0000 (15:11 -0000)]
2006-07-25  Sebastien Pouliot  <sebastien@ximian.com>

* X509CrlTest.cs: Added regression test for bug #78901.

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

17 years ago* Wizard.cs: fixed ActiveStep property
Vladimir Krasnov [Tue, 25 Jul 2006 15:05:28 +0000 (15:05 -0000)]
* Wizard.cs: fixed ActiveStep property
fixed templated side bar

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

17 years ago* MultiViewTest.cs: added test
Vladimir Krasnov [Tue, 25 Jul 2006 14:18:06 +0000 (14:18 -0000)]
* MultiViewTest.cs: added test

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

17 years ago* GridViewTest.cs, ViewTest.cs, WizardStepBaseTest.cs, WizardTest.cs: fixed tests
Vladimir Krasnov [Tue, 25 Jul 2006 14:14:02 +0000 (14:14 -0000)]
* GridViewTest.cs, ViewTest.cs, WizardStepBaseTest.cs, WizardTest.cs: fixed tests

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

17 years ago2006-07-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Jul 2006 13:41:15 +0000 (13:41 -0000)]
2006-07-25  Nagappan A  <anagappan@novell.com>

        * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
        setting rowCache to empty DataRowView. Fixes bug # 78610.

        * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
        78610.

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

17 years ago2006-07-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Jul 2006 13:38:17 +0000 (13:38 -0000)]
2006-07-25  Nagappan A <anagappan@novell.com>

        * DataViewTest2.cs (AcceptChanges, ClearTable): Test case to
        verify list changed event on table AcceptChanges and test case
        to verify data table count is zero on table Clear. Fixes bug
        78610. Thanks to Itai Bar-Haim <itaibh@gmail.com> for the
        testcases.

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

17 years agoImageField.cs: fix null reference bug.
Andrew Skiba [Tue, 25 Jul 2006 13:16:07 +0000 (13:16 -0000)]
ImageField.cs: fix  null reference bug.

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

17 years ago2006-07-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Jul 2006 12:56:51 +0000 (12:56 -0000)]
2006-07-25  Dick Porter  <dick@ximian.com>

        * shared.c (_wapi_shm_file): Remove '/' characters from the uname
        results.  Fixes bug 78917.

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

17 years ago2006-07-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jul 2006 08:42:59 +0000 (08:42 -0000)]
2006-07-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlConvert.cs : TimeSpan conversion for TimeSpan.MinValue was
  failing.

* XmlConvertTest.cs :
  Added TimeSpan conversion test for min/max values.

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

17 years agoadd tests to XmlDataSourceTest.cs , add resources for this tests
Yoni Klain [Tue, 25 Jul 2006 08:39:35 +0000 (08:39 -0000)]
add tests to XmlDataSourceTest.cs , add resources for this tests

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

17 years ago* DetailsView.cs: init DataKey property with empty collection.
Andrew Skiba [Tue, 25 Jul 2006 07:28:59 +0000 (07:28 -0000)]
* DetailsView.cs: init DataKey property with empty collection.
* DataKey.cs: fix unexpected exception bug.
* DataControlField.cs: override ToString according to the MSDN.

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

17 years ago2006-07-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jul 2006 03:19:21 +0000 (03:19 -0000)]
2006-07-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : mutual schema import was failing because the
  compiling schema's SourceUri was not enlisted for nest check.

* XmlSchemaTests.cs : added TestSimpleMutualImport().

* inter-inc-1.xsd, inter-inc-2.xsd :
  new test files for TestSimpleMutualImport().

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

17 years agoUpdate this enum
Miguel de Icaza [Mon, 24 Jul 2006 23:29:28 +0000 (23:29 -0000)]
Update this enum

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

17 years agoUpdate this attribute
Miguel de Icaza [Mon, 24 Jul 2006 23:22:32 +0000 (23:22 -0000)]
Update this attribute

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

17 years agoTwo more small patches to build Phalanger PHP compiler
Miguel de Icaza [Mon, 24 Jul 2006 23:17:59 +0000 (23:17 -0000)]
Two more small patches to build Phalanger PHP compiler

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

17 years agoTwo more small patches to build Phalanger PHP compiler
Miguel de Icaza [Mon, 24 Jul 2006 22:54:42 +0000 (22:54 -0000)]
Two more small patches to build Phalanger PHP compiler

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

17 years agoSmall API updates
Miguel de Icaza [Mon, 24 Jul 2006 22:19:42 +0000 (22:19 -0000)]
Small API updates

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

17 years ago * Control.cs: Use the directed select when selecting a control,
Jackson Harper [Mon, 24 Jul 2006 21:59:49 +0000 (21:59 -0000)]
    * Control.cs: Use the directed select when selecting a control,
        this way the container controls override will get called and the
        whole ActiveControl chain will get triggered.  TODO: probably
need
        to make sure this gets done everywhere instead of the old
        Select(Control).
        * ContainerControl.cs: Implement the directed Select method to
        find and activate the correct child control.

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

17 years ago* StackFrameTest.cs: Spaces to tabs. Marked tests that fail on Mono
Gert Driesen [Mon, 24 Jul 2006 18:30:31 +0000 (18:30 -0000)]
* StackFrameTest.cs: Spaces to tabs. Marked tests that fail on Mono
as NotWorking instead of Ignore. Enabled StackFrameTest2.GetFileName2
and StackFrameTest3.GetFileName as tests pass on both Mono and .NET.

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

17 years ago2006-07-22 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 24 Jul 2006 17:17:03 +0000 (17:17 -0000)]
2006-07-22  Mike Kestner  <mkestner@novell.com>

* Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
menu handling code so that clicks without a grab work too.
[Fixes #78914]

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

17 years agocreate TableStyle in CreateControlStyle.
Andrew Skiba [Mon, 24 Jul 2006 16:14:30 +0000 (16:14 -0000)]
create TableStyle in CreateControlStyle.

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

17 years ago2006-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Jul 2006 16:10:57 +0000 (16:10 -0000)]
2006-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: Windows also misbehaves on async. connects. Fixes bug
#78888.

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

17 years agotypo
Andrew Skiba [Mon, 24 Jul 2006 15:15:38 +0000 (15:15 -0000)]
typo

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

17 years agodon't throw the exception .Net does not throw
Andrew Skiba [Mon, 24 Jul 2006 15:08:46 +0000 (15:08 -0000)]
don't throw the exception .Net does not throw

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

17 years ago* DetailsView.cs: save DefaultMode and DataKeyNames in control state, to match .Net...
Andrew Skiba [Mon, 24 Jul 2006 14:57:00 +0000 (14:57 -0000)]
* DetailsView.cs: save DefaultMode and DataKeyNames in control state, to match .Net; fix PageCount to match record count.

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

17 years agoFormViewTest Update - Three postback tests were added
Merav Sudri [Mon, 24 Jul 2006 13:11:08 +0000 (13:11 -0000)]
FormViewTest Update - Three postback tests were added

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

17 years agorefactor to keep the original exception stack
Andrew Skiba [Mon, 24 Jul 2006 12:51:15 +0000 (12:51 -0000)]
refactor to keep the original exception stack

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

17 years ago* Menu.cs: fixed properties default values, fixed rendering SkipLinkText
Vladimir Krasnov [Mon, 24 Jul 2006 11:16:16 +0000 (11:16 -0000)]
* Menu.cs: fixed properties default values, fixed rendering SkipLinkText

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

17 years ago2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 Jul 2006 10:50:58 +0000 (10:50 -0000)]
2006-07-24  Atsushi Enomoto  <atsushi@ximian.com>

In class/System.XML:
* System.Xml.dll.sources : added XmlMappingAccess.

* XmlMappingAccess.cs : new type in 2.0 RTM.
* XmlCodeExporter.cs, SoapCodeExporter.cs,
  MapCodeGenerator.cs,
  XmlSchemaImporter.cs, SoapSchemaImporter.cs, SchemaImporter.cs,
  SchemaImporterExtension.cs, SchemaImporterExtensionCollection.cs,
  XmlMemberMapping.cs, XmlSerializationReader.cs :
  several 2.0 API fixes from betas to RTM.

In class/System.Web.Services:
* ProtocolImporter.cs, ServiceDescriptionImporter.cs :
  some 2.0 API fixes from betas to RTM.

In tools/wsdl:
* MonoWSDL2.cs : 2.0 API fixes from beta2 to RTM.

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

17 years ago2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 Jul 2006 09:17:17 +0000 (09:17 -0000)]
2006-07-24  Atsushi Enomoto  <atsushi@ximian.com>

* Char.cs : implemented utf32 conversion methods thus fixed bug #78856.

* CharTest.cs : added tests for utf32 conversion methods.

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

17 years agosplit a test in two, working and not working
Andrew Skiba [Mon, 24 Jul 2006 07:56:09 +0000 (07:56 -0000)]
split a test in two, working and not working

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

17 years ago2006-07-24 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 24 Jul 2006 00:51:38 +0000 (00:51 -0000)]
2006-07-24  Alp Toker  <alp@atoker.com>

  * driver.cs: Minor typo fixes in comments and informational output.

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

17 years ago* Wizard.cs: implemented SkipLinkText, TagKey
Vladimir Krasnov [Sun, 23 Jul 2006 15:50:28 +0000 (15:50 -0000)]
* Wizard.cs: implemented SkipLinkText, TagKey
fixed rendering bugs, fixed templated button bar rendering, fixed side bar rendering
* WizardStepBase.cs: fixed Name property

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

17 years agofix a broken test.
Andrew Skiba [Sun, 23 Jul 2006 15:21:23 +0000 (15:21 -0000)]
fix a broken test.

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

17 years agofix the regressions, caused by the previous commit.
Andrew Skiba [Sun, 23 Jul 2006 15:10:09 +0000 (15:10 -0000)]
fix the regressions, caused by the previous commit.

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

17 years agocorectly handle the different default values of DetailsView.CellSpacing and Table...
Andrew Skiba [Sun, 23 Jul 2006 13:59:29 +0000 (13:59 -0000)]
corectly handle the different default values of DetailsView.CellSpacing and Table.CellSpacing

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

17 years agocreate a pager row when needed
Andrew Skiba [Sun, 23 Jul 2006 12:31:45 +0000 (12:31 -0000)]
create a pager row when needed

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

17 years ago* codegen.cs (EmitContext.Flags): Move InCatch, InFinally,
Raja R Harinath [Sun, 23 Jul 2006 11:08:04 +0000 (11:08 -0000)]
* codegen.cs (EmitContext.Flags): Move InCatch, InFinally,
DoFlowAnalysis and OmitStructFlowAnalysis here.
(ec.With): Rename from WithUnsafe and generalize.
(ec.WithCheckState): Remove.  All users can be handled by 'With'.
(ec.WithFlowAnalyis): New.
* ecore.cs, expression.cs, statement.cs: Update.

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

17 years agoPrint more meaningful message
Marek Safar [Sun, 23 Jul 2006 10:45:56 +0000 (10:45 -0000)]
Print more meaningful message

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

17 years ago* statement.cs (Block.ResolveMeta): Simplify slightly.
Raja R Harinath [Sat, 22 Jul 2006 15:07:06 +0000 (15:07 -0000)]
* statement.cs (Block.ResolveMeta): Simplify slightly.

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

17 years ago* codegen.cs (EmitContext.Flags): New enum. Used to represent the
Raja R Harinath [Sat, 22 Jul 2006 13:37:53 +0000 (13:37 -0000)]
* codegen.cs (EmitContext.Flags): New enum.  Used to represent the
multiple boolean fields.  Convert InUnsafe, constant_check_state,
check_state to flags.
(CheckState, ConstantCheckState): Update.
(InUnsafe): New read-only property.
(FlagsHandle): Rename from CheckStateHandle and convert to handle
arbitrary flags.
(WithUnsafe): New helper similar to WithCheckState.
* statement.cs (Block.ResolveMeta): Use WithUnsafe.
(Unsafe.Resolve, Unsafe.DoEmit): Likewise.

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

17 years ago2006-07-22 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 22 Jul 2006 07:13:40 +0000 (07:13 -0000)]
2006-07-22  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Enable the BackButton when dirstack has one element.
  Added some small optimizations.

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

17 years ago More testing. This time on the groupbox, which acts as a
Jackson Harper [Fri, 21 Jul 2006 23:45:29 +0000 (23:45 -0000)]
    More testing.  This time on the groupbox, which acts as a
container.

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

17 years ago2006-07-21 Matt Hargett (matt@use.net)
Peter Dennis Bartok [Fri, 21 Jul 2006 23:20:36 +0000 (23:20 -0000)]
2006-07-21  Matt Hargett (matt@use.net)

* ControlTest.cs: Added tests for MinimumSize/MaximumSize

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

17 years ago2006-07-21 Matt Hargett <matt@use.net>
Peter Dennis Bartok [Fri, 21 Jul 2006 23:18:32 +0000 (23:18 -0000)]
2006-07-21  Matt Hargett  <matt@use.net>

* Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties

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

17 years agoDo not add the atoms twice
Miguel de Icaza [Fri, 21 Jul 2006 22:33:53 +0000 (22:33 -0000)]
Do not add the atoms twice

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

17 years ago Fix test.
Jackson Harper [Fri, 21 Jul 2006 22:09:24 +0000 (22:09 -0000)]
    Fix test.

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

17 years ago Test GetNextControl with a flat control layout.
Jackson Harper [Fri, 21 Jul 2006 20:58:04 +0000 (20:58 -0000)]
    Test GetNextControl with a flat control layout.

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

17 years ago2006-07-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 21 Jul 2006 19:17:30 +0000 (19:17 -0000)]
2006-07-21  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  tests pass and match MS in some strange border cases.

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

17 years ago2006-07-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 21 Jul 2006 18:27:30 +0000 (18:27 -0000)]
2006-07-21  Chris Toshok  <toshok@ximian.com>

* ThemeWin32Classic.cs: handle drawing of the relation links and
parent row buttons.

* Theme.cs: change args to DataGridPaintParentRow.

* DataGrid.cs: Don't use controls for the relation links and
parent buttons, so we have to handle all their interactions in
MouseMove, MouseDown, MouseUp, etc.  Also, store a lot more stuff
when we're navigating through child tables, so we can reinstate
selection, expanded state, current cell, etc.

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

17 years ago2006-07-21 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 21 Jul 2006 15:49:13 +0000 (15:49 -0000)]
2006-07-21  Alp Toker  <alp@atoker.com>

  * Mono.Cairo.dll.sources:
  * Mono.Cairo/DirectFBSurface.cs:
  * Mono.Cairo/XcbSurface.cs: Add new surfaces.

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

17 years ago2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Jul 2006 14:33:24 +0000 (14:33 -0000)]
2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DetailsView.cs:
* GridView.cs:
* PagedDataSource.cs:
* FormView.cs:
* ImageButton.cs:
* LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
support it. The GridView control will no longer throw an exception when
rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.

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

17 years ago2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Jul 2006 14:22:39 +0000 (14:22 -0000)]
2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PostBackOptions.cs: default to String.Empty for several field values.
Patch by Marek Habersack.

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

17 years agoMake comparisons use the same IL irrespective of whether they're
Raja R Harinath [Fri, 21 Jul 2006 13:45:55 +0000 (13:45 -0000)]
Make comparisons use the same IL irrespective of whether they're
in a 'checked' or 'unchecked' context: one of the issues in #78899
* codegen.cs (EmitContext.CheckState): Make read-only property.
(EmitContext.ConstantCheckState): Likewise.
(EmitContext.CheckStateHandle, EmitContext.WithCheckState): New
helper that implement a save/restore stack for CheckState
values.  This is the only way to change check-state.
* ecore.cs (Expression.ExpressionToArrayArgument): Use WithCheckState.
* expression.cs (CheckedExpr.DoResolve, CheckedExpr.Emit): Likewise.
(CheckedExpr.EmitBranchable): New forwarding method.
(UnCheckedExpr): Likewise.
* statement.cs (Block.ResolveMeta): Use WithCheckState.
(Unchecked.Resolve, Unchecked.DoEmit): Likewise.
(Checked.Resolve, checked.DoEmit): Likewise.

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

17 years ago2006-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Jul 2006 13:34:49 +0000 (13:34 -0000)]
2006-07-21  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.InferType): When inferring an array
type, also allow IList<T> and ICollection<T>.  Fixes #78900.

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

17 years ago2006-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Jul 2006 13:04:43 +0000 (13:04 -0000)]
2006-07-21  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.IsIEnumerable): Renamed into IsIList()
and allow IList`1 and all its base interfaces.

* convert.cs (Convert.ImplicitReferenceConversion): Allow
converting from an array-type of T to IList<T>.

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

17 years ago2006-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Jul 2006 13:03:05 +0000 (13:03 -0000)]
2006-07-21  Martin Baulig  <martin@ximian.com>

* ecore.cs (SimpleName.DoSimpleNameResolve): Added CS0307 check.

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