mono.git
17 years agooops
Andrew Skiba [Sun, 30 Jul 2006 09:37:06 +0000 (09:37 -0000)]
oops

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

17 years ago* FormView.cs: use TableStyle for ControlStyle
Andrew Skiba [Sun, 30 Jul 2006 08:59:50 +0000 (08:59 -0000)]
* FormView.cs: use TableStyle for ControlStyle

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

17 years ago* FormView.cs: save DefaultMode and DataKeyMode in control state.
Andrew Skiba [Sun, 30 Jul 2006 08:19:53 +0000 (08:19 -0000)]
* FormView.cs: save DefaultMode and DataKeyMode in control state.

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

17 years ago* FormView.cs: init DataKeys and fix null reference.
Andrew Skiba [Sun, 30 Jul 2006 08:01:58 +0000 (08:01 -0000)]
* FormView.cs: init DataKeys and fix null reference.

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

17 years ago- Don't always reset the border styles or forms will be messed up.
Peter Dennis Bartok [Sat, 29 Jul 2006 22:36:39 +0000 (22:36 -0000)]
- Don't always reset the border styles or forms will be messed up.

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

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

* XplatUIWin32.cs (SetBorderStyle): Setting both border
  and ClientEdge results in a 3-pixel border, which is
  wrong.

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

17 years agoUpdated
Marek Safar [Sat, 29 Jul 2006 19:41:28 +0000 (19:41 -0000)]
Updated

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

17 years ago2006-07-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 29 Jul 2006 18:26:50 +0000 (18:26 -0000)]
2006-07-29  Marek Safar  <marek.safar@seznam.cz>

* anonymous.cs(AnonymousDelegate.Emit): Uses Constructor filter when
looking for ctor.
* decl.cs (MemberCache.FindMembers): When container is interface we need to
search all base interfaces as a member can be ambiguous.
* delegate.cs (Delegate.FindMembers): Fixed to return valid data for
Constructor member type filter.
(Delegate.ResolveConstructorMethod) Uses Constructor filter.
* ecore.cs: (Expression.MemberLookup): Implemented ambiguity error/warning
reporting for returned memberinfos.
* expresssion.cs (IndexerAccess.DoResolve): Fixed to report correct error
message.
* report.cs: Updated.
* typemanager.cs (TypeManager.LookupBaseInterfacesCache): Uses TypeManager
version to work on all runtimes.
(TypeManager.RealMemberLookup): Removed members filtering.

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

17 years ago * TreeNodeCollection.cs: Fix the clear method.
Jackson Harper [Fri, 28 Jul 2006 22:13:44 +0000 (22:13 -0000)]
    * TreeNodeCollection.cs: Fix the clear method.
        - Fix the Shrink also

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

17 years ago * TreeNodeCollection.cs: Fix the clear method.
Jackson Harper [Fri, 28 Jul 2006 21:42:38 +0000 (21:42 -0000)]
    * TreeNodeCollection.cs: Fix the clear method.

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

17 years agoAdded the latest version of my anonymous methods patch to SVN so I can't
Martin Baulig [Fri, 28 Jul 2006 21:09:57 +0000 (21:09 -0000)]
Added the latest version of my anonymous methods patch to SVN so I can't
accidentally delete it.

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

17 years ago2006-07-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 28 Jul 2006 19:36:25 +0000 (19:36 -0000)]
2006-07-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PrintDocument.cs: When null is passed to PrinterSettings,
it should be set to a new PrinterSettings instance, and should never
be null.

* PrinterSettings.cs: Default value for Copies should be 1. Also
add a space in the ToString method, to correctly show the printer
info.

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

17 years ago2006-07-28 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 28 Jul 2006 19:12:52 +0000 (19:12 -0000)]
2006-07-28  Jonathan Chambers  <joncham@gmail.com>

Added support for marshalling COM RCWs.

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

17 years ago2006-07-28 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 28 Jul 2006 19:11:23 +0000 (19:11 -0000)]
2006-07-28  Jonathan Chambers  <joncham@gmail.com>

Added support for marshalling COM RCWs.

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

17 years ago2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 Jul 2006 19:06:41 +0000 (19:06 -0000)]
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
the property Items does not exist. Patch by Marek Habersack that fixes
bug #78971.

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

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

* TemplateControlCompiler.cs: support assigning nullable types.
Patch by Marek Habersack that fixes bug #78970.

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

17 years ago2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 Jul 2006 18:46:40 +0000 (18:46 -0000)]
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TreeView.cs: several changes to improve compatibility with MS.
Patch by Marek Habersack that fixes bug #77551.

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

17 years ago2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 Jul 2006 18:35:59 +0000 (18:35 -0000)]
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Style.cs: output the text-decoration value even when it is 'none'.
Patch by Marek Habersack that fixes bug #78968.

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

17 years agoComment on single graphic context usage
Jordi Mas i Hernandez [Fri, 28 Jul 2006 18:04:53 +0000 (18:04 -0000)]
Comment on single graphic context usage

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

17 years agoFri Jul 28 19:04:34 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Jul 2006 17:06:09 +0000 (17:06 -0000)]
Fri Jul 28 19:04:34 CEST 2006 Paolo Molaro <lupus@ximian.com>

* image.c: avoid tentative loading of modulerefs that contain
no metadata (P/Invoke library names).

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

17 years agoRevert this patch. Paolo pointed out that it will slow us down very much for assembl...
Miguel de Icaza [Fri, 28 Jul 2006 16:35:30 +0000 (16:35 -0000)]
Revert this patch.  Paolo pointed out that it will slow us down very much for assemblies with many p/invokes

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

17 years ago2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Jul 2006 15:45:18 +0000 (15:45 -0000)]
2006-07-28  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriter2.cs : fixed some indentation bugs: comments and PIs
  should not cause indentation override like text, cdata and
  whitespaces do.
  Fixed some error messages on node kind.
* XmlTextWriter.cs, XmlTextWriterOpenElement.cs : removed old code.
  (I don't want to remove old great code but it confused mike today.)

* XmlTextWriterTests.cs : added test case for comments, PIs and
  indentation.

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

17 years ago2006-07-28 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 28 Jul 2006 14:00:52 +0000 (14:00 -0000)]
2006-07-28  Dick Porter  <dick@ximian.com>

        * loader.c (mono_loader_cleanup): mono_loader_cleanup() is racing
        mono_loader_lock() somewhere, so don't delete the critical section
        for now.  Found by running and exiting monodevelop.

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

17 years agoIn mcs and gmcs:
Raja R Harinath [Fri, 28 Jul 2006 11:32:37 +0000 (11:32 -0000)]
In mcs and gmcs:
* class.cs (TypeContainer.AddMemberType): Rename from
AddToTypeContainer.
(TypeContainer.AddMember): Rename from AddToMemberContainer.
(AddTypeContainer): New.  Combine AddClassOrStruct and
AddInterface.
(AddPartial): Update.  Add 'is_partial' argument.
* roottypes.cs: Update to changes.
* cs-parser.jay (push_current_class): New helper for handling
current_container and current_class.
(struct_declaration, interface_declaration, class_declaration):
Use it.

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

17 years ago2006-07-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 27 Jul 2006 21:20:34 +0000 (21:20 -0000)]
2006-07-27  Miguel de Icaza  <miguel@novell.com>

* image.c (load_modules): Use the implmap table to find out which
external modules are actually native libraries.  With this
information, we avoid loading the module in the first place.

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

17 years ago * TreeView.cs: Make sure the visible order is computed when we
Jackson Harper [Thu, 27 Jul 2006 21:19:27 +0000 (21:19 -0000)]
    * TreeView.cs: Make sure the visible order is computed when we
        attempt to size the scrollbars (for trees that mess with the
        scrolling when they shouldn't.
        - Make sure to give the scrollbars valid values.

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

17 years ago2006-07-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 27 Jul 2006 16:37:56 +0000 (16:37 -0000)]
2006-07-27  Zoltan Varga  <vargaz@gmail.com>

* libtest.c: Add a newline at the EOF.

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

17 years ago2006-07-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 27 Jul 2006 16:30:53 +0000 (16:30 -0000)]
2006-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Move motion compression code to where it
  has less performance impact

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

17 years ago* FormViewTest.cs: fix few tests.
Andrew Skiba [Thu, 27 Jul 2006 15:33:48 +0000 (15:33 -0000)]
* FormViewTest.cs: fix few tests.

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

17 years ago* FormView.cs: initialize PageCount with 0; fix IsBindableType to include Decimal.
Andrew Skiba [Thu, 27 Jul 2006 15:23:40 +0000 (15:23 -0000)]
* FormView.cs: initialize PageCount with 0; fix IsBindableType to include Decimal.

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

17 years agoUpdate
Miguel de Icaza [Thu, 27 Jul 2006 15:16:21 +0000 (15:16 -0000)]
Update

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

17 years agoRevert this patch from Kornel, it triggers a P/Invoke lookup on all operating systems...
Miguel de Icaza [Thu, 27 Jul 2006 15:16:02 +0000 (15:16 -0000)]
Revert this patch from Kornel, it triggers a P/Invoke lookup on all operating systems, due to the inliner, this must be discussed before it goes in

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

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

* XmlSchema.cs, XmlSchemaSimpleTypeList.cs,
  XmlSchemaSimpleContentRestriction.cs, XmlSchemaUtil.cs,
  XmlSchemaSimpleContentExtension.cs, XmlSchemaElement.cs,
  XmlSchemaComplexType.cs, XmlSchemaSimpleTypeRestriction.cs,
  XmlSchemaSimpleTypeUnion.cs, XmlSchemaAttribute.cs :
  Finally fixed bugs around cross-referencing importing schema
  components (namely, #77489 and #78220) by resolving referenced
  components via new internal Find[Element|Attribute|AttributeGroup|
  SchemaType] methods in XmlSchema.

* XmlSchemaSetTest.cs : added bug #77489 case.
* XmlSchemaCollectionTests.cs : removed NotWorking from #77820 case.

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

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

* XmlSchema.cs : set ValidationEventHandler to XmlSchemaSet only
  when the argument event handler is not null.
  Validate() is internal to open it to XmlSchemaSet.
* XmlSchemaSet.cs : removed extraneous "handler" field and method
  "OnValidationError". Now ValidationEventHandler just works since
  we don't have to care about XmlSchemaCollection's event (it just
  reuses XmlSchemaSet's event now).
  Split Compile() process to collect components first, and to
  validate next.

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

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

* xsdtest.cs :
  It has been running some extra instance validation and reporting
  errors where a schema is invalid and therefore no instance
  validation could be done.
  Now --reportsuccess works fine for tests that should fail (reports
  "OK" when it successfully failed).

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

17 years agoDetailsViewRowCollection: return this in SyncRoot.
Andrew Skiba [Thu, 27 Jul 2006 14:28:30 +0000 (14:28 -0000)]
DetailsViewRowCollection: return this in SyncRoot.

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

17 years ago* FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing and CellPadding.
Andrew Skiba [Thu, 27 Jul 2006 14:26:52 +0000 (14:26 -0000)]
* FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing and CellPadding.

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

17 years agofix tests.
Andrew Skiba [Thu, 27 Jul 2006 14:09:43 +0000 (14:09 -0000)]
fix tests.

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

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