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
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
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
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
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
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
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
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
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
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
Andrew Skiba [Thu, 27 Jul 2006 15:33:48 +0000 (15:33 -0000)]
* FormViewTest.cs: fix few tests.
svn path=/trunk/mcs/; revision=63046
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
Miguel de Icaza [Thu, 27 Jul 2006 15:16:21 +0000 (15:16 -0000)]
Update
svn path=/trunk/mcs/; revision=63044
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
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
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
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
Andrew Skiba [Thu, 27 Jul 2006 14:28:30 +0000 (14:28 -0000)]
DetailsViewRowCollection: return this in SyncRoot.
svn path=/trunk/mcs/; revision=63039
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
Andrew Skiba [Thu, 27 Jul 2006 14:09:43 +0000 (14:09 -0000)]
fix tests.
svn path=/trunk/mcs/; revision=63037
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
Andrew Skiba [Thu, 27 Jul 2006 12:22:53 +0000 (12:22 -0000)]
fix the documentation
svn path=/trunk/mcs/; revision=63035
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 26 Jul 2006 18:30:53 +0000 (18:30 -0000)]
updated
svn path=/trunk/mcs/; revision=63017
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
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
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
Gonzalo Paniagua Javier [Wed, 26 Jul 2006 17:50:01 +0000 (17:50 -0000)]
fix RH9 build
svn path=/trunk/mono/; revision=63011
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
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
Andrew Skiba [Wed, 26 Jul 2006 16:19:27 +0000 (16:19 -0000)]
visual studio ifdef
svn path=/trunk/mcs/; revision=63000
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
Andrew Skiba [Wed, 26 Jul 2006 15:22:22 +0000 (15:22 -0000)]
fix a test (incomplete)
svn path=/trunk/mcs/; revision=62998
Andrew Skiba [Wed, 26 Jul 2006 14:58:04 +0000 (14:58 -0000)]
fix few DetailsView tests
svn path=/trunk/mcs/; revision=62997
Andrew Skiba [Wed, 26 Jul 2006 14:39:11 +0000 (14:39 -0000)]
refactor arguments
svn path=/trunk/mcs/; revision=62996
Dick Porter [Wed, 26 Jul 2006 14:28:13 +0000 (14:28 -0000)]
Fix gcc warnings
svn path=/trunk/mono/; revision=62995
Yoni Klain [Wed, 26 Jul 2006 14:06:19 +0000 (14:06 -0000)]
XmlDataSourceTest.cs add tests
svn path=/trunk/mcs/; revision=62994
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Tue, 25 Jul 2006 22:01:41 +0000 (22:01 -0000)]
add the new watcher
svn path=/trunk/mcs/; revision=62973
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
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
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
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
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
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
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
Vladimir Krasnov [Tue, 25 Jul 2006 14:18:06 +0000 (14:18 -0000)]
* MultiViewTest.cs: added test
svn path=/trunk/mcs/; revision=62960
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Mon, 24 Jul 2006 23:29:28 +0000 (23:29 -0000)]
Update this enum
svn path=/trunk/mcs/; revision=62938
Miguel de Icaza [Mon, 24 Jul 2006 23:22:32 +0000 (23:22 -0000)]
Update this attribute
svn path=/trunk/mcs/; revision=62937
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
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
Miguel de Icaza [Mon, 24 Jul 2006 22:19:42 +0000 (22:19 -0000)]
Small API updates
svn path=/trunk/mcs/; revision=62933
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
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
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
Andrew Skiba [Mon, 24 Jul 2006 16:14:30 +0000 (16:14 -0000)]
create TableStyle in CreateControlStyle.
svn path=/trunk/mcs/; revision=62928
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
Andrew Skiba [Mon, 24 Jul 2006 15:15:38 +0000 (15:15 -0000)]
typo
svn path=/trunk/mcs/; revision=62924
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
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
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
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
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
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
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
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
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
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
Andrew Skiba [Sun, 23 Jul 2006 15:21:23 +0000 (15:21 -0000)]
fix a broken test.
svn path=/trunk/mcs/; revision=62905
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
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
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